package com.example.wuqujingdianphone.bean;

import android.os.Parcel;
import android.os.Parcelable;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

public class TiYanguanBean implements Serializable {


    /**
     * id : 3
     * name : 唐诗宋词
     * path : 0-2
     * childs : [{"id":"66","jianjie":"","news_tit":"唐诗","spic":"/Public/editor/attached/image/20180312/20180312150011_33988.jpg","news_djs":"0","author":"","news_source":"","tuij":"0","mulu":[{"id":"3","title":"唐诗：白云泉 白居易","spic":"/Public/editor/attached/image/20180312/20180312144806_18217.jpg","url":"/Public/editor/attached/file/20180312/20180312144820_62143.mp4","add_time":"1520837305","times":"","pid":"66"},{"id":"4","title":"唐诗：边词 张敬忠","spic":"/Public/editor/attached/image/20180313/20180313082840_71748.jpg","url":"/Public/editor/attached/file/20180313/20180313082853_21697.mp4","add_time":"1520900937","times":"","pid":"66"},{"id":"5","title":"唐诗：别董大 高适","spic":"/Public/editor/attached/image/20180313/20180313083003_88486.jpg","url":"/Public/editor/attached/file/20180313/20180313083016_93916.mp4","add_time":"1520901020","times":"","pid":"66"},{"id":"6","title":"唐诗：泊秦淮 杜牧","spic":"/Public/editor/attached/image/20180313/20180313083045_31879.jpg","url":"/Public/editor/attached/file/20180313/20180313083059_24059.mp4","add_time":"1520901063","times":"","pid":"66"},{"id":"7","title":"唐诗：采莲曲 王昌龄","spic":"/Public/editor/attached/image/20180313/20180313083130_81575.jpg","url":"/Public/editor/attached/file/20180313/20180313083149_43807.mp4","add_time":"1520901113","times":"","pid":"66"}]},{"id":"67","jianjie":"","news_tit":"宋词","spic":"/Public/editor/attached/image/20180314/20180314093818_41412.jpg","news_djs":"0","author":"","news_source":"","tuij":"0","mulu":[{"id":"53","title":"01卜算子 咏梅-陆游","spic":"","url":"/Public/editor/attached/file/20180314/20180314093922_89335.mp4","add_time":"1520991566","times":"","pid":"67"},{"id":"54","title":"02卜算子-李之仪","spic":"","url":"/Public/editor/attached/file/20180314/20180314094013_98387.mp4","add_time":"1520991641","times":"","pid":"67"},{"id":"55","title":"03卜算子-王观","spic":"","url":"/Public/editor/attached/file/20180314/20180314094119_51907.mp4","add_time":"1520991684","times":"","pid":"67"},{"id":"56","title":"04卜算子-严蕊","spic":"","url":"/Public/editor/attached/file/20180314/20180314094156_33142.mp4","add_time":"1520991721","times":"","pid":"67"},{"id":"57","title":"05采桑子1-欧阳修","spic":"","url":"/Public/editor/attached/file/20180314/20180314094237_99898.mp4","add_time":"1520991763","times":"","pid":"67"}]},{"id":"83","jianjie":"","news_tit":"古诗词","spic":"/Public/editor/attached/image/20180316/20180316092232_43497.jpg","news_djs":"0","author":"","news_source":"","tuij":"0","mulu":[{"id":"357","title":"01 望天门山_超清","spic":"","url":"/Public/editor/attached/file/20180316/20180316092324_85827.mp4","add_time":"1521163418","times":"","pid":"83"},{"id":"358","title":"02 春日_超清","spic":"","url":"/Public/editor/attached/file/20180316/20180316092408_95597.mp4","add_time":"1521163452","times":"","pid":"83"},{"id":"359","title":"03   窃读记_超清","spic":"","url":"/Public/editor/attached/file/20180316/20180316092514_29473.mp4","add_time":"1521163524","times":"","pid":"83"},{"id":"360","title":"04 将相和_超清","spic":"","url":"/Public/editor/attached/file/20180316/20180316092635_52379.mp4","add_time":"1521163600","times":"","pid":"83"},{"id":"361","title":"05   金钱的魔力_超清","spic":"","url":"/Public/editor/attached/file/20180316/20180316092716_61157.mp4","add_time":"1521163644","times":"","pid":"83"}]},{"id":"84","jianjie":"","news_tit":"古诗词2","spic":"/Public/editor/attached/image/20180316/20180316093927_32115.jpg","news_djs":"0","author":"","news_source":"","tuij":"0","mulu":[{"id":"384","title":"01   守株待兔_超清","spic":"","url":"/Public/editor/attached/file/20180316/20180316094014_86368.mp4","add_time":"1521164419","times":"","pid":"84"},{"id":"385","title":"02 四时田园杂兴_超清","spic":"","url":"/Public/editor/attached/file/20180316/20180316094040_58565.mp4","add_time":"1521164446","times":"","pid":"84"},{"id":"386","title":"03   渔歌子_超清","spic":"","url":"/Public/editor/attached/file/20180316/20180316094108_87428.mp4","add_time":"1521164472","times":"","pid":"84"},{"id":"387","title":"04 学弈_超清","spic":"","url":"/Public/editor/attached/file/20180316/20180316094127_13812.mp4","add_time":"1521164495","times":"","pid":"84"},{"id":"388","title":"05 元日_超清","spic":"","url":"/Public/editor/attached/file/20180316/20180316094154_82567.mp4","add_time":"1521164518","times":"","pid":"84"}]},{"id":"85","jianjie":"","news_tit":"宝宝学古诗","spic":"/Public/editor/attached/image/20180316/20180316100046_77758.jpg","news_djs":"0","author":"","news_source":"","tuij":"0","mulu":[{"id":"418","title":"八阵图_超清","spic":"","url":"/Public/editor/attached/file/20180316/20180316100127_55260.mp4","add_time":"1521165691","times":"","pid":"85"},{"id":"419","title":"泊船瓜洲_超清","spic":"","url":"/Public/editor/attached/file/20180316/20180316100152_17503.mp4","add_time":"1521165715","times":"","pid":"85"},{"id":"420","title":"出塞_超清","spic":"","url":"/Public/editor/attached/file/20180316/20180316100209_34930.mp4","add_time":"1521165769","times":"","pid":"85"},{"id":"421","title":"春望_超清","spic":"","url":"/Public/editor/attached/file/20180316/20180316100321_12447.mp4","add_time":"1521165974","times":"","pid":"85"},{"id":"422","title":"春夜喜雨_超清","spic":"","url":"/Public/editor/attached/file/20180316/20180316101218_43137.mp4","add_time":"1521166342","times":"","pid":"85"}]}]
     */

    private String id;
    private String name;
    private String path;
    private List<ChildsBean> childs;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public List<ChildsBean> getChilds() {
        return childs;
    }

    public void setChilds(List<ChildsBean> childs) {
        this.childs = childs;
    }

    public static class ChildsBean {
        /**
         * id : 66
         * jianjie :
         * news_tit : 唐诗
         * spic : /Public/editor/attached/image/20180312/20180312150011_33988.jpg
         * news_djs : 0
         * author :
         * news_source :
         * tuij : 0
         * mulu : [{"id":"3","title":"唐诗：白云泉 白居易","spic":"/Public/editor/attached/image/20180312/20180312144806_18217.jpg","url":"/Public/editor/attached/file/20180312/20180312144820_62143.mp4","add_time":"1520837305","times":"","pid":"66"},{"id":"4","title":"唐诗：边词 张敬忠","spic":"/Public/editor/attached/image/20180313/20180313082840_71748.jpg","url":"/Public/editor/attached/file/20180313/20180313082853_21697.mp4","add_time":"1520900937","times":"","pid":"66"},{"id":"5","title":"唐诗：别董大 高适","spic":"/Public/editor/attached/image/20180313/20180313083003_88486.jpg","url":"/Public/editor/attached/file/20180313/20180313083016_93916.mp4","add_time":"1520901020","times":"","pid":"66"},{"id":"6","title":"唐诗：泊秦淮 杜牧","spic":"/Public/editor/attached/image/20180313/20180313083045_31879.jpg","url":"/Public/editor/attached/file/20180313/20180313083059_24059.mp4","add_time":"1520901063","times":"","pid":"66"},{"id":"7","title":"唐诗：采莲曲 王昌龄","spic":"/Public/editor/attached/image/20180313/20180313083130_81575.jpg","url":"/Public/editor/attached/file/20180313/20180313083149_43807.mp4","add_time":"1520901113","times":"","pid":"66"}]
         */

        private String id;
        private String jianjie;
        private String news_tit;
        private String spic;
        private String news_djs;
        private String author;
        private String news_source;
        private String tuij;
        private ArrayList<MuluBean> mulu;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getJianjie() {
            return jianjie;
        }

        public void setJianjie(String jianjie) {
            this.jianjie = jianjie;
        }

        public String getNews_tit() {
            return news_tit;
        }

        public void setNews_tit(String news_tit) {
            this.news_tit = news_tit;
        }

        public String getSpic() {
            return spic;
        }

        public void setSpic(String spic) {
            this.spic = spic;
        }

        public String getNews_djs() {
            return news_djs;
        }

        public void setNews_djs(String news_djs) {
            this.news_djs = news_djs;
        }

        public String getAuthor() {
            return author;
        }

        public void setAuthor(String author) {
            this.author = author;
        }

        public String getNews_source() {
            return news_source;
        }

        public void setNews_source(String news_source) {
            this.news_source = news_source;
        }

        public String getTuij() {
            return tuij;
        }

        public void setTuij(String tuij) {
            this.tuij = tuij;
        }

        public ArrayList<MuluBean> getMulu() {
            return mulu;
        }

        public void setMulu(ArrayList<MuluBean> mulu) {
            this.mulu = mulu;
        }

        public static class MuluBean implements Parcelable {
            /**
             * id : 3
             * title : 唐诗：白云泉 白居易
             * spic : /Public/editor/attached/image/20180312/20180312144806_18217.jpg
             * url : /Public/editor/attached/file/20180312/20180312144820_62143.mp4
             * add_time : 1520837305
             * times :
             * pid : 66
             */

            private String id;
            private String title;
            private String spic;
            private String url;
            private String add_time;
            private String times;
            private String pid;

            protected MuluBean(Parcel in) {
                id = in.readString();
                title = in.readString();
                spic = in.readString();
                url = in.readString();
                add_time = in.readString();
                times = in.readString();
                pid = in.readString();
            }

            public static final Creator<MuluBean> CREATOR = new Creator<MuluBean>() {
                @Override
                public MuluBean createFromParcel(Parcel in) {
                    return new MuluBean(in);
                }

                @Override
                public MuluBean[] newArray(int size) {
                    return new MuluBean[size];
                }
            };

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public String getSpic() {
                return spic;
            }

            public void setSpic(String spic) {
                this.spic = spic;
            }

            public String getUrl() {
                return url;
            }

            public void setUrl(String url) {
                this.url = url;
            }

            public String getAdd_time() {
                return add_time;
            }

            public void setAdd_time(String add_time) {
                this.add_time = add_time;
            }

            public String getTimes() {
                return times;
            }

            public void setTimes(String times) {
                this.times = times;
            }

            public String getPid() {
                return pid;
            }

            public void setPid(String pid) {
                this.pid = pid;
            }

            @Override
            public int describeContents() {
                return 0;
            }

            @Override
            public void writeToParcel(Parcel dest, int flags) {
                dest.writeString(id);
                dest.writeString(title);
                dest.writeString(spic);
                dest.writeString(url);
                dest.writeString(add_time);
                dest.writeString(times);
                dest.writeString(pid);
            }
        }
    }
}
